<?php
/**
 * Created by PhpStorm.
 * User: xding
 * Date: 15/10/19
 * Time: 下午4:21
 */
namespace Beans;


if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Post {


    public static $PING_STATUS_PUBLIC   = 'public';
    public static $PING_STATUS_PRIVATE  = 'private';
    public static $PING_STATUS_PASSWORD = 'password';

    public $ID;
    public $post_author;
    public $post_date;
    public $post_date_gmt;
    public $post_title;
    public $post_content;
    public $post_excerpt;
    public $post_status;
    public $comment_status = 'open';
    public $ping_status;
    public $post_password = '';
    public $post_name = '';
    public $to_ping;
    public $pinged;
    public $post_modified;
    public $post_modified_gmt;
    public $post_parent = 0;
    public $guid;
    public $menu_order = 0;
    public $post_type = 'post';
    public $comment_count = 0;


    public static $_TB_NAME = 'posts';

    public function __construct() {

    }

}